home *** CD-ROM | disk | FTP | other *** search
/ Aminet 22 / Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso / Aminet / dev / basic / X_Dat2Cat.lha / X_Dat2Cat / XDat2Cat.readme < prev    next >
Text File  |  1997-09-16  |  3KB  |  107 lines

  1.  
  2. Short:    V1.0 - Data2Catalog for Blitz
  3. Uploader: xn.baddolls@a2points.com (NUEL Xavier)
  4. Author:   xn.baddolls@a2points.com (NUEL Xavier)
  5. Type:     dev/basic
  6.  
  7.     Hi,
  8.  
  9.  
  10.     XDat2Cat V1.0 is a litle program for a quick creation of
  11. a catalog file for your own program in Blitz Basic...
  12.  
  13.     But be careful, it doesn't make the file.catalog !!! It will
  14. only make the file.cd ( catalog description ) and, if you want, a
  15. file.ct ( catalog translation ).
  16.  
  17.     For the first step, you must doing a data-file of your localised
  18. strings. The format of this file is like this :
  19.  
  20.     
  21.     Label
  22.     Data$ "Localised text"   ; "Texte localisé"
  23.     Data$ "An other text"    ; "Un autre texte"
  24.     Data$ "Yes|No !!"        ; "Oui|Non !!"
  25.     OtherLabel                
  26.     Data$ "Again, some text"    ; "Encore du texte"
  27.     ...
  28.     ..
  29.     .
  30.  
  31.     'Label' is a name for the type of strings. 
  32.     "Localised text" is the english version of the catalog's string.
  33.     It's the description's string for the file.cd.
  34.     "Texte localisé" is the translation's string for the file.ct.
  35.  
  36.     In the file.cd , this will create this strings : 
  37.  
  38.     ;
  39.     MSG_Label_1 (1//)
  40.     Localised text
  41.     ;
  42.     MSG_Label_2 (2//)
  43.     An other text
  44.     ;
  45.     ...
  46.     ..
  47.     .
  48.  
  49.     And in the file.ct :
  50.  
  51.         ;
  52.     MSG_Label_1 (1//)
  53.     Texte localisé
  54.     ;
  55.     MSG_Label_2 (2//)
  56.     Un autre texte
  57.     ;
  58.     ...
  59.     ..
  60.     .
  61.  
  62.     When you've got this two file, you can create the file.catalog.
  63.     One way is using the program CatEdit ( © 93-95 Rafael D'Halleweyn )
  64.     available on Aminet.
  65.  
  66.         -First step  : 
  67.             Menu : extras/read/catalog description
  68.             ( select your file.cd )
  69.         -Second step :
  70.             Menu : extras/read/catalog translation
  71.             ( select your file.ct )
  72.         -Final step :
  73.             Menu : project/save
  74.             ( save your file.catalog in the
  75.               LOCALE:catalogs/the_country_of_the_translation)
  76.         -That's all
  77.  
  78.     I hope my english is not too bad ;-) ...
  79.     Enjoy yourself whith this program, and ask me if you've got some
  80.     problems with it.
  81.  
  82.     By, Xavier
  83.  
  84.     PS: the source is available on my own WEB site ;-)
  85.  
  86. +---------------------------------------------------------------+
  87. | Name    : Xavier Nuel.                            w           |
  88. | Alias   : BadDolls                               (¨)          |
  89. | E-Mail  : xn.baddolls@a2points.com             o--+--o        |
  90. |                                                   |           |
  91. | Project : XLabProcess                           _/ \_         |
  92. | Status  : V1.22 finished & on my home page                    |
  93. | Home    : http://www.a2points.com/homepage/3698138/           |
  94. | __         _                                                  |
  95. | | \       | \  Productions © 96-97      /\                    |
  96. | |_/    _  |  \_      _               /\/  \                   |
  97. | | \/\ | \ |  / \| | |_              /      \_                 |
  98. | |_/--\|_/ |_/\_/|_|_ _|   ooo... /\/         \                |
  99. |                                                               |
  100. |  Amiga User Since 1992                                        |
  101. |                                                               |
  102. |  o  A1200 Rom3.1 2Mo + 68030/50 + 16Mo + HD1Go                |
  103. |  o  A1200 Rom3.0 2Mo                                          |
  104. |  o  A 500+ 1Mo                                                |
  105. +---------------------------------------------------------------|
  106.  
  107.